package com.liyao.windowtest4.pojo;

import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

/**
 * @program: windowtest4
 * @description: 扳手
 * @author: liu yan
 * @create: 2024-10-29 15:04
 */
public class wrenchRow {
    private SimpleStringProperty SN;
    private SimpleStringProperty TorqueName;
    private SimpleDoubleProperty TorqueMin;
    private SimpleDoubleProperty TorqueMax;
    private SimpleStringProperty SSID;
    private SimpleStringProperty password;
    private SimpleStringProperty Host;
    private SimpleIntegerProperty Port;
    private SimpleStringProperty SubnetMask;

    public String getSSID() {
        return SSID.get();
    }

    public SimpleStringProperty SSIDProperty() {
        return SSID;
    }

    public void setSSID(String SSID) {
        this.SSID.set(SSID);
    }

    public String getPassword() {
        return password.get();
    }

    public SimpleStringProperty passwordProperty() {
        return password;
    }

    public void setPassword(String password) {
        this.password.set(password);
    }

    public String getSubnetMask() {
        return SubnetMask.get();
    }

    public SimpleStringProperty subnetMaskProperty() {
        return SubnetMask;
    }

    public void setSubnetMask(String subnetMask) {
        this.SubnetMask.set(subnetMask);
    }

    public String getGateway() {
        return gateway.get();
    }

    public SimpleStringProperty gatewayTextProperty() {
        return gateway;
    }

    public void setGatewayText(String gateway) {
        this.gateway.set(gateway);
    }

    private SimpleStringProperty gateway;
    private SimpleStringProperty addTime;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    private String jobId;


    public wrenchRow(String SN, String torqueName, Double torqueMin, Double torqueMax,String SSID,String password,String host,int port,String subnetMask,String gateway, String addTime) {
        this.SN = new SimpleStringProperty(SN);
        TorqueName = new SimpleStringProperty(torqueName);
        TorqueMin = new SimpleDoubleProperty(torqueMin);
        TorqueMax = new SimpleDoubleProperty(torqueMax);
        this.SSID=new SimpleStringProperty(SSID);
        this.password=new SimpleStringProperty(password);
        Host=new SimpleStringProperty(host);
        Port=new SimpleIntegerProperty(port);
        SubnetMask =new SimpleStringProperty(subnetMask);
        this.gateway=new SimpleStringProperty(gateway);
        this.addTime = new SimpleStringProperty(addTime);
    }

    public wrenchRow(String SN, String torqueName, String host,int port,String jobId) {
        this.SN = new SimpleStringProperty(SN);
        TorqueName = new SimpleStringProperty(torqueName);
        Host=new SimpleStringProperty(host);
        Port=new SimpleIntegerProperty(port);
        this.jobId=jobId;
    }

    public String getSN() {
        return SN.get();
    }

    public SimpleStringProperty SNProperty() {
        return SN;
    }

    public void setSN(String SN) {
        this.SN.set(SN);
    }

    public String getTorqueName() {
        return TorqueName.get();
    }

    public SimpleStringProperty torqueNameProperty() {
        return TorqueName;
    }

    public void setTorqueName(String torqueName) {
        this.TorqueName.set(torqueName);
    }

    public double getTorqueMin() {
        return TorqueMin.get();
    }

    public SimpleDoubleProperty torqueMinProperty() {
        return TorqueMin;
    }

    public void setTorqueMin(double torqueMin) {
        this.TorqueMin.set(torqueMin);
    }

    public double getTorqueMax() {
        return TorqueMax.get();
    }

    public SimpleDoubleProperty torqueMaxProperty() {
        return TorqueMax;
    }

    public void setTorqueMax(double torqueMax) {
        this.TorqueMax.set(torqueMax);
    }

    public String getAddTime() {
        return addTime.get();
    }

    public SimpleStringProperty addTimeProperty() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime.set(addTime);
    }

    public String getHost() {
        return Host.get();
    }

    public SimpleStringProperty hostProperty() {
        return Host;
    }

    public void setHost(String host) {
        this.Host.set(host);
    }

    public int getPort() {
        return Port.get();
    }

    public SimpleIntegerProperty portProperty() {
        return Port;
    }

    public void setPort(int port) {
        this.Port.set(port);
    }
}
